﻿<UserControl
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   mc:Ignorable="d"
   xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
   xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" 
   xmlns:System_Windows_Controls_Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls" 
   xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
   xmlns:UserControls="clr-namespace:RM.WebClient"
   xmlns:input="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input" 
   xmlns:RM_WebClient_RMServices="clr-namespace:RM.WebClient.RMServices" 
   x:Class="RM.WebClient.CandidateDetail"
   >
	<UserControl.Resources>
		<RM_WebClient_RMServices:Candidate x:Key="CandidateDataSource" d:IsDataSource="True"/>
		<UserControls:CandidateList x:Key="CandidateListDataSource" d:IsDataSource="True"/>
	</UserControl.Resources>
	<Canvas x:Name="canvasBottom" Margin="0" Height="859" VerticalAlignment="Top" Width="1024" d:LayoutOverrides="Height" DataContext="{Binding Source={StaticResource CandidateListDataSource}}">
		<Image x:Name="bottomBackground" Canvas.Top="0" Source="RMS-Registration_Images/Background.png" Canvas.Left="0"/>
		<Image x:Name="ImageCandidateDetails" Canvas.Left="45" Source="RMS-Registration_Images/Layer 18.png" Canvas.Top="20" HorizontalAlignment="Left"/>
		<Image x:Name="userImage" Height="34" Width="34" Canvas.Left="62" Canvas.Top="23" Source="RMS-Registration_Images/Layer 21.png"/>
		<TextBlock x:Name="New_Candidate_Details" Canvas.Left="117" Canvas.Top="35" FontSize="16" Foreground="#FF1B1B1B" LineHeight="14" LineStackingStrategy="BlockLineHeight" Text="New Candidate Details" TextAlignment="Left" TextWrapping="Wrap" Height="12"/>
		<Grid Height="783" Width="922" Canvas.Left="72" Canvas.Top="76">
			<Grid.RowDefinitions>
				<RowDefinition Height="0.188*"/>
				<RowDefinition Height="0.239*"/>
				<RowDefinition Height="0.163*"/>
				<RowDefinition Height="0.368*"/>
				<RowDefinition Height="0.042*"/>
			</Grid.RowDefinitions>
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="0.201*"/>
					<ColumnDefinition Width="0.799*"/>
				</Grid.ColumnDefinitions>
				<Grid Grid.Column="1" d:LayoutOverrides="Width">
					<Grid.RowDefinitions>
						<RowDefinition Height="0.17*"/>
						<RowDefinition Height="0.83*"/>
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="0.157*"/>
						<ColumnDefinition Width="0.843*"/>
					</Grid.ColumnDefinitions>
					<Canvas Grid.Row="1">
						<dataInput:Label Height="23" x:Name="lblFirstName" Content="First Name:" FontSize="13.333"  HorizontalAlignment="Right" Width="92" Canvas.Left="18" Canvas.Top="10"  />
						<dataInput:Label Height="23" x:Name="lblLastName" Content="Last Name:" FontSize="13.333"  HorizontalAlignment="Right" Canvas.Left="18" Canvas.Top="40"  />
						<dataInput:Label Height="23" x:Name="lblDOB" Content="Date Of Birth:" FontSize="13.333"  HorizontalAlignment="Right" Canvas.Left="2" Canvas.Top="70"  />
						<dataInput:Label Height="23" x:Name="lblSex" Content="Sex:" FontSize="13.333" HorizontalAlignment="Right" Canvas.Left="65" Canvas.Top="100"  />
					</Canvas>
					<Canvas Grid.Column="1" Grid.Row="1">
                        <TextBox Height="22" Width="180" TextWrapping="Wrap" x:Name="txtFirstName" Canvas.Top="10" LostFocus="txtFirstName_LostFocus"/>
                        <TextBox Height="22" Width="180" Canvas.Top="40" TextWrapping="Wrap" x:Name="txtLastName" LostFocus="txtLastName_LostFocus"/>
						<controls:DatePicker x:Name="dtPickerDOB" Height="22" Width="180" Canvas.Top="70" SelectedDateFormat="Short" LostFocus="dtPickerDOB_LostFocus"/>
						<ComboBox Height="22" Width="90" Canvas.Left="0" Canvas.Top="100" x:Name="cbxSex" RenderTransformOrigin="0.467,-5.023" SelectedIndex="0">
							<ComboBoxItem Content="Male"/>
							<ComboBoxItem Content="Female"/>
						</ComboBox>
					</Canvas>
					<HyperlinkButton x:Name="linkCandidatesList" Margin="347,4,0,4" Foreground="#FF092084" Content="View Candidates List" FontWeight="Bold" Width="133" Grid.Column="1" Click="linkCandidatesList_Click" HorizontalAlignment="Left"/>
					<Image x:Name="imgCandidatesList" Margin="280,-10,246,-8" Grid.Column="1" Source="candidates.png" MouseLeftButtonUp="imgCandidatesList_MouseLeftButtonUp" Cursor="Hand"/>
				</Grid>
				<dataInput:Label Content="Personal Details" x:Name="lblContactDetailsHeader" FontFamily="Times New Roman" FontSize="16" Margin="8,16,4,0" Height="22" VerticalAlignment="Top" />
			</Grid>
			<Grid Grid.Row="1" Margin="0,0,0,1">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="0.167*"/>
					<ColumnDefinition Width="0.833*"/>
				</Grid.ColumnDefinitions>
				<dataInput:Label Height="22" Content="Contact Details" x:Name="lblContactDetailsHeader_Copy" FontFamily="Times New Roman" FontSize="16" Margin="8,4,0,0" VerticalAlignment="Top" />
				<Grid Grid.Column="1" Margin="0,0,-102,0">
					<Grid.RowDefinitions>
						<RowDefinition Height="0.091*"/>
						<RowDefinition Height="0.909*"/>
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="0.168*"/>
						<ColumnDefinition Width="0.832*"/>
					</Grid.ColumnDefinitions>
					<Canvas Grid.Row="1">
						<dataInput:Label Height="20" Width="117" Canvas.Left="23" Canvas.Top="10" x:Name="lblEmailAddress" Content="Email Address:" FontSize="13.333" HorizontalAlignment="Right"/>
						<dataInput:Label Height="26" Width="125" Canvas.Left="2" Canvas.Top="70" x:Name="lblContactNumbers" Content="Contact Numbers:" RenderTransformOrigin="0.603,-0.864" FontSize="13.333"/>
						<dataInput:Label Height="26" Width="65" Canvas.Left="74" Canvas.Top="98" x:Name="lblMobileNumber" Content="Mobile:" FontSize="13.333"/>
						<dataInput:Label Height="31" Width="65" Canvas.Left="76" Canvas.Top="126" x:Name="lblPhone" Content="Phone:" FontSize="13.333"/>
						<dataInput:Label Height="22" Width="74" Canvas.Left="63" Canvas.Top="40" x:Name="lblCountry" Content="Country:" FontSize="13.333" />
					</Canvas>
					<Canvas Grid.Column="1" Grid.Row="1" Margin="0,0,61,0">
						<TextBox Height="22" Width="180" Canvas.Left="0" Canvas.Top="10" TextWrapping="Wrap" x:Name="txtEmailAddress" LostFocus="txtEmailAddress_LostFocus"/>
                        <ComboBox Height="22" Width="90" Canvas.Top="40" x:Name="cbxCountry" LostFocus="cbxCountry_LostFocus">
                            <ComboBoxItem Content="India"/>
                            <ComboBoxItem Content="Norway"/>
                        </ComboBox>
                        <dataInput:Label Height="26" Width="138" Canvas.Left="94" Canvas.Top="38" x:Name="lblCurrentLocation" Content=" Current Location:" HorizontalAlignment="Right" FontSize="13.333"/>
                        <ComboBox Height="22" Width="90" Canvas.Left="231" Canvas.Top="42" x:Name="cbxCurrentLocation" LostFocus="cbxCurrentLocation_LostFocus">
                            <ComboBoxItem Content="Banglore"/>
                            <ComboBoxItem Content="New Delhi"/>
                            <ComboBoxItem Content="Pune"/>
                            <ComboBoxItem Content="Oslo"/>
                        </ComboBox>
                        <dataInput:Label Height="28" Width="321" Canvas.Left="0" Canvas.Top="70" x:Name="lblContactNumbers_Copy" Content="Out of two phone numbers, one is compulsory." RenderTransformOrigin="0.603,-0.864" FontSize="13.333"/>
						<TextBox Height="22" Width="135" Canvas.Left="0" Canvas.Top="100" TextWrapping="Wrap" x:Name="txtMobileNumber" MaxLength="10" LostFocus="txtMobileNumber_LostFocus"/>
						<TextBox Height="22" Width="60" Canvas.Left="0" Canvas.Top="130" TextWrapping="Wrap" x:Name="txtCountryCode" LostFocus="txtCountryCode_LostFocus"/>
						<TextBox Height="22" Width="60" Canvas.Left="75" Canvas.Top="130" TextWrapping="Wrap" x:Name="txtAreaCode" LostFocus="txtAreaCode_LostFocus"/>
						<TextBox Height="22" Width="100" Canvas.Left="148" Canvas.Top="130" TextWrapping="Wrap" x:Name="txtPhoneNumber" LostFocus="txtPhoneNumber_LostFocus"/>
					</Canvas>
				</Grid>
			</Grid>
			<Grid Grid.Row="2" Margin="0,-1,0,0">
				<Grid.RowDefinitions>
					<RowDefinition Height="0.233*"/>
					<RowDefinition Height="0.767*"/>
				</Grid.RowDefinitions>
				<dataInput:Label Content="Current Professional Details" x:Name="lblProfessionalDetailHeader" FontFamily="Times New Roman" FontSize="16" Margin="6,4,0,8" HorizontalAlignment="Left" Width="239" />
				<Canvas Grid.Row="1">
					<dataInput:Label Height="21" Width="125" Canvas.Left="159" Canvas.Top="10" x:Name="lblExperiance" Content="Total Experiance:" FontSize="13.333"/>
					<dataInput:Label Height="21" Width="165" Canvas.Left="121" Canvas.Top="40" x:Name="lblSalaryDetail" Content="Current Annual Salary:" FontSize="13.333"/>
					<dataInput:Label Height="23" Width="123" Canvas.Left="165" Canvas.Top="70" x:Name="lblFunctionalArea" Content="Functional Area:" FontSize="13.333"/>
					<ComboBox Height="22" Width="50" Canvas.Left="302" Canvas.Top="10" x:Name="cbxExperianceYears" LostFocus="cbxExperianceYears_LostFocus">
						<ComboBoxItem Content="0"/>
                        <ComboBoxItem Content="1"/>
						<ComboBoxItem Content="2"/>
						<ComboBoxItem Content="3"/>
						<ComboBoxItem Content="4"/>
						<ComboBoxItem Content="5"/>
						<ComboBoxItem Content="6"/>
						<ComboBoxItem Content="7"/>
						<ComboBoxItem Content="8"/>
					</ComboBox>
                    <ComboBox Height="22" Width="50" Canvas.Left="419" Canvas.Top="10" x:Name="cbxExperianceMonths" LostFocus="cbxExperianceMonths_LostFocus">
                        <ComboBoxItem Content="0"/>
                        <ComboBoxItem Content="1"/>
                        <ComboBoxItem Content="2"/>
                        <ComboBoxItem Content="3"/>
                        <ComboBoxItem Content="4"/>
                        <ComboBoxItem Content="5"/>
                        <ComboBoxItem Content="6"/>
                        <ComboBoxItem Content="7"/>
                        <ComboBoxItem Content="8"/>
                        <ComboBoxItem Content="9"/>
                        <ComboBoxItem Content="10"/>
                        <ComboBoxItem Content="11"/>
                    </ComboBox>
                    <ComboBox Height="22" Width="50" Canvas.Left="302" Canvas.Top="40" x:Name="cbxSalaryInLacs" LostFocus="cbxSalaryInLacs_LostFocus">
						<ComboBoxItem Content="0"/>
                        <ComboBoxItem Content="1"/>
						<ComboBoxItem Content="2"/>
						<ComboBoxItem Content="3"/>
						<ComboBoxItem Content="4"/>
						<ComboBoxItem Content="5"/>
						<ComboBoxItem Content="6"/>
						<ComboBoxItem Content="7"/>
					</ComboBox>
                    <ComboBox Height="22" Width="50" Canvas.Left="419" Canvas.Top="40" x:Name="cbxSalaryInThousands" LostFocus="cbxSalaryInThousands_LostFocus">
                        <ComboBoxItem Content="0"/>
                        <ComboBoxItem Content="5"/>
                        <ComboBoxItem Content="10"/>
                        <ComboBoxItem Content="15"/>
                        <ComboBoxItem Content="20"/>
                        <ComboBoxItem Content="25"/>
                        <ComboBoxItem Content="30"/>
                        <ComboBoxItem Content="35"/>
                        <ComboBoxItem Content="40"/>
                        <ComboBoxItem Content="45"/>
                        <ComboBoxItem Content="50"/>
                        <ComboBoxItem Content="55"/>
                        <ComboBoxItem Content="60"/>
                        <ComboBoxItem Content="65"/>
                        <ComboBoxItem Content="70"/>
                        <ComboBoxItem Content="75"/>
                        <ComboBoxItem Content="80"/>
                        <ComboBoxItem Content="85"/>
                        <ComboBoxItem Content="90"/>
                        <ComboBoxItem Content="95"/>
                    </ComboBox>                    
                    <ComboBox Height="22" Width="167" Canvas.Left="302" Canvas.Top="70" x:Name="cbxFunctionalArea" LostFocus="cbxFunctionalArea_LostFocus">
						<ComboBoxItem Content="Software Development" ToolTipService.ToolTip="Software Development"/>
						<ComboBoxItem Content="Software Testing" ToolTipService.ToolTip="Software Testing"/>
						<ComboBoxItem Content="Human Resources" ToolTipService.ToolTip="Human Resources"/>
						<ComboBoxItem Content="Administration" ToolTipService.ToolTip="Administration"/>
					</ComboBox>
					
					<dataInput:Label Height="22" Width="53" Canvas.Left="362" Canvas.Top="10" x:Name="lblYears" Content="Year(s)" FontSize="13.333"/>
					<dataInput:Label Height="22" Width="77" Canvas.Left="483" Canvas.Top="10" x:Name="lblExperiance_Copy" Content="Month(s)" FontSize="13.333"/>
					
					<dataInput:Label Height="22" Width="47" Canvas.Left="362" Canvas.Top="40" x:Name="lblYears_Copy" Content="Lac(s)" FontSize="13.333"/>
					<dataInput:Label Height="22" Width="84" Canvas.Left="482" Canvas.Top="40" x:Name="lblExperiance_Copy1" Content="Thousand(s)" FontSize="13.333"/>
					<RadioButton Height="19" Width="129" Content="Indian Rupees" Canvas.Left="580" Canvas.Top="40" x:Name="rbtnINR" FontSize="13.333" IsChecked="True" />
					<RadioButton Height="19" Width="98" Content="US Dollars" Canvas.Left="713" Canvas.Top="40" x:Name="rbtnUSD" FontSize="13.333"/>
				</Canvas>
			</Grid>
			<Grid Grid.Row="3">
				<Grid.RowDefinitions>
					<RowDefinition Height="0.083*"/>
					<RowDefinition Height="0.917*"/>
				</Grid.RowDefinitions>
				<dataInput:Label Width="149" Content="Upload Resume" x:Name="lblUploadResume" FontFamily="Times New Roman" FontSize="16" HorizontalAlignment="Left" Margin="8,0,0,2" />
				<Canvas Grid.Row="1" Margin="0,-2,0,0">
					<dataInput:Label Height="22" Width="119" Canvas.Left="170" Canvas.Top="2" x:Name="lblFunctionalArea_Copy" Content="Attach Resume:" FontSize="13.333"/>
					<TextBox x:Name="txtBrowseResume" Height="22" Width="180" Canvas.Left="306" Canvas.Top="2" TextWrapping="Wrap" IsReadOnly="True"/>
					<Button x:Name="btnBrowse" Height="22" Width="75" Content="Browse..." Canvas.Left="498" Canvas.Top="2" Click="btnBrowse_Click"/>
					<dataInput:Label Height="20" Width="543" Canvas.Left="168" Visibility="Collapsed"  Canvas.Top="32" Content="If you do not have your word.doc resume copy and paste your resume below.." x:Name="lblHintToUploadResume" FontSize="13.333" />
					<TextBox x:Name="txtCopyResume" Height="168" Width="521" Visibility="Collapsed" Foreground="#FF615C5C" Canvas.Left="170" Canvas.Top="56" AcceptsReturn="True" Text="Copy and paste your resume here" TextWrapping="Wrap" GotFocus="ClearDefaultContents" LostFocus="SetDefaultContents"/>
					<Button Height="22" Width="68" Content="Submit" Canvas.Left="334" Canvas.Top="230" x:Name="btnSave" Foreground="DarkOrange" Click="btnSubmit_Click"/>
					<Button Height="22" Width="68" Content="Reset" Canvas.Left="424" Canvas.Top="230" x:Name="btnReset" Foreground="DarkOrange" Click="btnReset_Click"/>
				</Canvas>
			</Grid>
			<TextBlock x:Name="Copyright_2009_Proteans_Software_Solutions_Pvt___Ltd_" FontFamily="Verdana" FontSize="10.667" Foreground="#FF91B73D" LineHeight="11" LineStackingStrategy="BlockLineHeight" Text="© Copyright 2009, Proteans Software Solutions Pvt Ltd. All Rights Reserved." TextAlignment="Left" TextWrapping="Wrap" HorizontalAlignment="Right" Margin="0,0,-4,8" VerticalAlignment="Bottom" Grid.Row="4" Width="422"/>
		</Grid>
	</Canvas>
</UserControl>
